﻿using HCQ2_Model;
using HCQ2_Model.VRDD.InputDto._20220627;
using HCQ2_Model.VRDD.OutputDto._20220627;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_IDAL
{
    public partial interface IT_ItemCodeMenumDAL
    {

        /// <summary>
        /// 获取积分规则列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<OutputGetPointsRuleList> GetPointsRuleList(InputGetUserPointsBalance param, int userid);
        /// <summary>
        /// 获取连续签到天数
        /// </summary>
        /// <param name="date">当前日期</param>
        /// <param name="userid">用户id</param>
        /// <returns></returns>
        int signInNum(DateTime date, int userid);
        /// <summary>
        /// 查询是否签到
        /// </summary>
        /// <param name="dateTime"></param>
        /// <returns></returns>
        T_VRUserSignIn GetUserSignIn(DateTime dateTime, int userid, string proType);
        /// <summary>
        /// 获取补签后的连续签到天数
        /// </summary>
        /// <param name="date"></param>
        /// <returns></returns>
        T_VRUserSignIn GetSignInNum(DateTime date, int userid);
        /// <summary>
        /// 获取数据字典列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<OutputGetDataDictList> GetDataDictList(InputGetDataDictList param);
        /// <summary>
        /// 获取签到奖励规则
        /// </summary>
        /// <returns></returns>
        List<OutputGetPointsRuleList> GetSignRewardRuleList();
    }
}
